<h1><%= link_to 'New entry for ' + @list.title, url_for(@list), :target => '_top' %></h1>

<%= error_messages_for :entry %>

<% form_for(@entry) do |f| %>
  <p>
    <b>URL:</b><br />
    <%= f.text_field :url %>
  </p>
  
  <p>
    <b>Title:</b><br />
    <%= f.text_field :title %>
  </p>

  <%= f.hidden_field :list_id, :value => @list.id %>
  <%= f.hidden_field :status, :value => '1' %>

  <p>
    <b>Summary:</b><br />
    <%= f.text_field :summary %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>